﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace TelerikAcademyOopProject
{
    public class DatabaseManager
    {
        const string database = "../../Database/items.txt";

        public void writeFile(string item){

            using (StreamWriter writer = new StreamWriter(database,true))
            {
                writer.WriteLine(item);
            }
        }
    }
}
